package com.hilihili.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author xhc
 * @Date 2024/1/26 11:04
 * @Version 1.0
 */
@Data
public class Favorites {
    private Long id;
    private String favoritesName;
    private String favoritesIntroduction;
    private Integer favoritesPublic;
    private String favoritesCover;
    private Integer favoritesRank;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Long createAt;

    private Integer rank;

    // 每个收藏夹里有多少个视频个数
    private Integer favoritesCount;

    // 用于前端收藏夹回显时是否被选中的checked
    private String checked;

    private String imgBase64;
}
